
print(0.5^3)  # 0.125

print(8/3)    # 2.666667

print(8%%3)   # 2

print(10%/%3) # 3

v <- c(2,4,6,9)
t <- c(1,4,7,9)

print(v < t) # FALSE FALSE  TRUE FALSE

v <- c(3,1,TRUE,2+3i)
t <- c(4,1,FALSE,2+3i)

print(v|t) # TRUE TRUE TRUE TRUE

v <- c(3,0,TRUE,2+2i)
t <- c(1,3,TRUE,2+3i)

print(v&&t) # TRUE


v <- 1:10
print(v) # 1  2  3  4  5  6  7  8  9 10
v1 <- 3
v2 <- 15
print(v1 %in% v) # TRUE
print(v2 %in% v) # FALSE

M = matrix( c(2,6,5,1,10,4), nrow = 2,ncol = 3,byrow = TRUE)
t = M %*% t(M)
print(t)


